package kr.co.m2soft.model.elements
{
	import kr.co.m2soft.model.BaseModel;
	import kr.co.m2soft.model.IBaseModelParser;

	public class LA extends BaseModel implements IBaseModelParser
	{
		private var _eid:int;
		private var _st:int = 0;
		private var _wd:Number = 1;
		private var _lc:String = "#000000";
		private var _ap:int = 0;
		public function LA()
		{
			
		}
		public function parser():void
		{
			_eid = dataProvider.@id;
			_st = dataProvider.hasOwnProperty("@st") ? dataProvider.@st : _st;
			_wd = dataProvider.hasOwnProperty("@wd") ? dataProvider.@wd : _st;
			_lc = dataProvider.hasOwnProperty("@lc") ? dataProvider.@lc : _lc;
			_ap = dataProvider.hasOwnProperty("@ap") ? dataProvider.@ap : _ap;
		}
		public function get eid():int
		{
			return _eid;
		}

		public function set eid(value:int):void
		{
			_eid = value;
		}
		
		[Inspectable(enumeration="0,1,2,3,4", defaultValue="4" )]
		public function get st():int
		{
			return _st;
		}

		public function set st(value:int):void
		{
			_st = value;
		}
		
		[Inspectable(enumeration="0.5,1.5,2,2.5,3,3.5,4,5", defaultValue="1" )]
		public function get wd():Number
		{
			return _wd;
		}

		public function set wd(value:Number):void
		{
			_wd = value;
		}
		
		[Inspectable(defaultValue="#000000" )]
		public function get lc():String
		{
			return _lc;
		}
		
		public function set lc(value:String):void
		{
			_lc = value;
		}
		
		[Inspectable(enumeration="0,1,2,3,4,5,6,7,8,9", defaultValue="0" )]
		public function get ap():int
		{
			return _ap;
		}

		public function set ap(value:int):void
		{
			_ap = value;
		}


	}
}